﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using BCCommon.OAEnums;

namespace BCEntity.OA.WorkflowTemplate.WorkflowTemplateFormCustomDatabaseTableColumn
{
    /// <summary>
    /// 工作流模板表单自定义数据库表集合列
    /// </summary>
    public class WorkflowTemplateFormCustomDatabaseTableColumnEntity
    {

        /// <summary>
        /// 工作流模板表单自定义数据库表集合列Id
        /// </summary>		
        public long WorkflowTemplateFormCustomDatabaseTableColumnId { get; set; }
        /// <summary>
        /// 表单配置标题
        /// </summary>		
        public string FormConfigTitle { get; set; }
        /// <summary>
        /// 表单配置Code
        /// </summary>		
        public string FormConfigCode { get; set; }
        /// <summary>
        /// 数据库注释
        /// </summary>		
        public string DatabaseComment { get; set; }
        /// <summary>
        /// 数据库名称
        /// </summary>		
        public string DatabaseName { get; set; }
        /// <summary>
        /// 表注释
        /// </summary>		
        public string TableComment { get; set; }
        /// <summary>
        /// 表名称
        /// </summary>		
        public string TableName { get; set; }
        /// <summary>
        /// 列注释
        /// </summary>		
        public string ColumnComment { get; set; }
        /// <summary>
        /// 列名称
        /// </summary>		
        public string ColumnName { get; set; }
        /// <summary>
        /// 列类型
        /// </summary>		
        public OAColumnType ColumnType { get; set; }
        /// <summary>
        /// 值
        /// </summary>		
        public string Value { get; set; }
        /// <summary>
		/// 长度
		/// </summary>		
		public int Length { get; set; }
        /// <summary>
        /// 是否自增Id
        /// </summary>		
        public bool IsAutoIncrement { get; set; }
        /// <summary>
        /// 是否主键
        /// </summary>		
        public bool IsPrimaryKey { get; set; }
        /// <summary>
        /// 是否必填
        /// </summary>		
        public bool IsNotNull { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>		
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>		
        public DateTime? UpdateTime { get; set; }

    }
}

